<%@ page import="com.foreknow.model.Gusetbook" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/2/27
  Time: 18:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="<%= request.getContextPath()%>/css/Register.css">

</head>
<body>
<div id="con">


    <form name="Register"  action="update" method="post"  >
        <div id="title">
            <h3>用户信息注册</h3>
        </div>
        <div class="rowCon">
            <div class="leftCon">
                <span class="star" >*</span>  id:
            </div>

            <div>

                    <%
                        Gusetbook gb=(Gusetbook)request.getAttribute("user");
                        %>
                <input type="text" class="inputCtr" id="username" name="user" value="<%= gb.getId()%>" >

                    <%
                    %>




            </div>
        </div>
        <div class="rowCon">
            <div class="leftCon">
                <span class="star">*</span>  name:
            </div>

            <div>
                <input type="text" class="inputCtr" id="passwordInput" name="name">
            </div>
        </div>
        <div class="rowCon">
            <div class="leftCon" >
                <span class="star">*</span>  phone:
            </div>
            <div>
                <input type="text" class="inputCtr" id="conPass" name="phone">
            </div>
        </div>
        <div class="rowCon">
            <div class="leftCon">
                <span class="star" >*</span>  email:
            </div>
            <div>
                <input type="text" class="inputCtr"  name="email">
            </div>
        </div>
        <div class="rowCon">
            <div class="leftCon">
                <span class="star" >*</span> title:
            </div>
            <div>
                <input type="text" class="inputCtr" id="email"  name="title">
            </div>
        </div>

        <div class="rowCon">
            <div class="leftCon" >
                <span class="star">*</span> content:
            </div>
            <div>
                <input type="text" class="inputCtr" id="content" name="content">
            </div>
        </div>
<%--        <a href="<%=request.getContextPath()%>/manager?user=<%=gb.getId()%>--%>
<%--            &name=<%=request.getParameter("name")%> &phone=<%=request.getParameter("phone")%>--%>
<%--            &email=<%=request.getParameter("email")%>&title<%=request.getParameter("title")%>--%>
<%--            &content=<%=request.getParameter("content")%>--%>
<%--            &q=update"  class="btn btn-primary">确定</a>--%>
        <button type="submit">提交</button>






    </form>

</div>


</body>
</html>
